'use strict';
const requireEx=require('yi-require');
const $ = requireEx('yi-schema');
module.exports = {
    body: $.object({
        _id:$.mongoid().required().description("管理员ID"),
        oldPWD:$.string().required().description("旧密码"),
        newPWD:$.string().required().description("新密码"),
        comfirmedPWD:$.string().required().description("确认密码")
    })
};